src/float_utils/round/PY_SHORT_FLOAT_REPR
Theme:
🌗 Match OS
🌑 Dark
🌕 Light
Index
Search:
Group by:
Section
Type
Imports
Procs
round
round(dd: float; ndigits: int): float
Source
Edit
Imports
err
Procs
proc
round
(
dd
:
float
;
ndigits
:
int
)
:
float
{.
...
raises
:
[
OverflowError
]
,
tags
:
[
]
,
forbids
:
[
]
.}
version of double_round that uses the correctly-rounded string<->double conversions from Python/dtoa.c
Source
Edit